package wxshop.api.admin.model.wx;

import java.util.List;

/**
 * Created by 121874694@qq.com on 2018/3/4.
 */
public class MenuInfo {
	private String type;
	private String name;
	private String key;
	private String url;
	private List<MenuInfo> sub_button;
	
	public MenuInfo () {
	}
	
	public MenuInfo (String type, String name, String key, String url) {
		this.type = type;
		this.name = name;
		this.key = key;
		this.url = url;
	}
	
	public MenuInfo (String type, String name, String key, String url, List<MenuInfo> sub_button) {
		this.type = type;
		this.name = name;
		this.key = key;
		this.url = url;
		this.sub_button = sub_button;
	}
	
	public String getType () {
		return type;
	}
	
	public void setType (String type) {
		this.type = type;
	}
	
	public String getName () {
		return name;
	}
	
	public void setName (String name) {
		this.name = name;
	}
	
	public String getKey () {
		return key;
	}
	
	public void setKey (String key) {
		this.key = key;
	}
	
	public String getUrl () {
		return url;
	}
	
	public void setUrl (String url) {
		this.url = url;
	}
	
	public List<MenuInfo> getSub_button () {
		return sub_button;
	}
	
	public void setSub_button (List<MenuInfo> sub_button) {
		this.sub_button = sub_button;
	}
	
	@Override
	public String toString () {
		return "MenuInfo{" +
				"type='" + type + '\'' +
				", name='" + name + '\'' +
				", key='" + key + '\'' +
				", url='" + url + '\'' +
				", sub_button=" + sub_button +
				'}';
	}
}
